.hzdz-density-display {
  display: grid;
  grid-template-columns: 1fr 1fr; // 一行两列
  column-gap: 24px;
  row-gap: 16px;
  width: 500px;
  padding: 20px;
  box-sizing: border-box;
  // background-color: gray;

  &__module {
    display: flex;
    align-items: center;
    justify-content: left;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  &__icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    // margin-right: 12px;
    flex-shrink: 0;
  }

  &__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  &__content {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: left;
    min-width: 0; // 防止flex项目溢出
  }

  &__label {
    font-family: SourceHanSansSC, SourceHanSansSC;
    font-weight: 400;
    font-size: 16px;
    width: 92px;
    padding: 0 0 0 12px;
    color: rgba(255,255,255,0.8);
    line-height: 24px;
    text-align: left;
    font-style: normal;
  }

  &__value-container {
    display: flex;
    width: 78px;
    align-items: baseline;
    justify-content: center;
  }

  &__value {
    font-family: DINAlternate, DINAlternate;
    font-weight: bold;
    font-size: 20px;
    color: #1AD7FF;
    line-height: 28px;
    text-align: left;
    font-style: normal;
  }

  &__unit {
    padding: 0 0 0 4px;
    font-family: SourceHanSansSC, SourceHanSansSC;
    font-weight: 400;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 24px;
    text-align: center;
    font-style: normal;
  }

  // 响应式设计
  @media (max-width: 768px) {
    grid-template-columns: 1fr; // 小屏幕时改为单列
    grid-template-rows: repeat(6, 1fr); // 6行
    gap: 12px;
    padding: 12px;

    &__module {
      padding: 10px;
    }

    &__icon-container {
      width: 40px;
      height: 40px;
      margin-right: 10px;
    }
  }

  @media (max-width: 480px) {
    gap: 8px;
    padding: 8px;

    &__module {
      padding: 8px;
    }

    &__icon-container {
      width: 36px;
      height: 36px;
      margin-right: 8px;
    }
  }
}
